package com.tonann.app.domain;

import com.tonann.common.annotation.Excel;
import com.tonann.common.core.domain.BaseEntity;
import com.tonann.common.core.domain.entity.SysDept;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 项目管理对象 app_project
 *
 * @author tonann
 * @date 2023-03-19
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AppProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long projectId;

    /**
     * 项目编号
     */
    @Excel(name = "项目编号")
    private String projectCode;

    /**
     * 项目名称
     */
    @Excel(name = "项目名称")
    private String projectName;

    /**
     * 项目地址
     */
    @Excel(name = "项目地址")
    private String projectAddress;

    /**
     * 项目经度
     */
    @Excel(name = "项目经度")
    private String projectLongitude;

    /**
     * 项目纬度
     */
    @Excel(name = "项目纬度")
    private String projectLatitude;

    /**
     * 项目甲方Id
     */
    @Excel(name = "项目甲方Id")
    private Long projectFirstPartyDeptId;

    private SysDept projectFirstPartyDept;

    /**
     * 项目总包方Id
     */
    @Excel(name = "项目总包方Id")
    private Long projectGeneralContractorDeptId;

    private SysDept projectGeneralContractorDept;

    /**
     * 项目供货方Id
     */
    @Excel(name = "项目供货方Id")
    private Long projectSupplierDeptId;

    private SysDept projectSupplierDept;

    private String projectImage;

    private String businessMan;

    private List<Long> businessManIds;

    private String maintenanceMan;

    private String modelFile;

    private String modelVersion;

    private String appFile;

    private String appQR;

    private String appVersion;

    private List<Long> maintenanceManIds;

}
